<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>添加幻灯片</title>
<link href="__ADMIN_PUBLIC__css/style.css" rel="stylesheet" type="text/css" />
<link href="__ADMIN_PUBLIC__css/select.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="__ADMIN_PUBLIC__js/jquery.js"></script>
<script type="text/javascript" src="__ADMIN_PUBLIC__js/jquery.idTabs.min.js"></script>
<script type="text/javascript" src="__ADMIN_PUBLIC__js/select-ui.min.js"></script>
<script type="text/javascript" src="__ADMIN_PUBLIC__editor/kindeditor.js"></script>

<script type="text/javascript">
    KE.show({
        id : 'content7',
        cssPath : './index.css'
    });
  </script>
  
<script type="text/javascript">
$(document).ready(function(e) {
    $(".select1").uedSelect({
		width : 345			  
	});
	$(".select2").uedSelect({
		width : 167  
	});
	$(".select3").uedSelect({
		width : 100
	});
});
</script>

</head>

<body>

	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
     <li><a href="{:U('Admin/Index/welcome/')}">首页</a></li>
    <li><a href="{:U('Admin/Slide/index/')}">幻灯片管理</a></li>
    <li><a href="">添加幻灯片</a></li>
    </ul>
    </div>
    
    <div class="formbody">   
    
    <div id="usual1" class="usual"> 
    
    <div class="itab">
  	<ul> 
    <li><a href="#tab1" class="selected">添加幻灯片</a></li>
  	</ul>
    </div> 
    <form action="" method="post" enctype="multipart/form-data">
  	<div id="tab1" class="tabson">    
    <ul class="forminfo">
    <li><label>幻灯片标题<b>*</b></label><input name="s_title" type="text" class="dfinput" value="{$slide.s_title}"  /></li>
   
    <li><label>旧图片<b>*</b></label> <img src="../../Uploads/Slide/thumb/100X100_{$slide.s_img}" alt="" />   
    </li>
   
    <li><label>幻灯片图片<b>*</b></label> <input name="s_img" type="file" class="dfinput"   />(如需修改直接上传即可替换) 
    </li>

     <li><label>链接网址<b>*</b></label> <input name="s_url" type="text" class="dfinput" value="{$slide.s_url}"  /> 
    </li>
    
    <li><label>显示方式<b>*</b></label> 
    	    	 <div class="vocation">
				    <select class="select1" name="s_ismobile">
				    <option value="0" <if condition="$slide.s_ismobile eq 0">selected="selected"</if> >电脑端</option>
				    <option value="1"<if condition="$slide.s_ismobile eq 1">selected="selected"</if>>手机端</option>
				    </select>
			    </div>
    </li>
    
    <li><label>是否显示<b>*</b></label> 
    	 <div class="vocation">
		    <select class="select1" name="s_isshow">
		    <option value="0" <if condition="$slide.s_isshow eq 0">selected="selected"</if>>显示</option>
		    <option value="1" <if condition="$slide.s_isshow eq 1">selected="selected"</if>>隐藏</option>
		    </select>
	    </div>
    </li>
    
    <li><label>简介内容<b>*</b></label> <textarea name="s_content" class="dfinput"  rows="5" cols="30"  style="width:400px;height: 90px;" />{$slide.s_content}</textarea>
    </li>



    
    
    
    <li><label>&nbsp;</label><input name="" type="submit" class="btn" value="马上发布"/></li>
    </ul>
    
    </div> </form>
    
    
  	
	<script type="text/javascript"> 
      $("#usual1 ul").idTabs(); 
    </script>
    
    <script type="text/javascript">
	$('.tablelist tbody tr:odd').addClass('odd');
	</script>
    
    
    
    
    
    </div>


</body>

</html>
